/* 公告横幅 */
.announcementBanner {
  background: var(--ifm-background-color);
  color: var(--ifm-font-color-base);
  padding: 16px 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 1px solid var(--ifm-color-emphasis-300);
  box-shadow: 0 2px 4px var(--ifm-color-emphasis-200);
}

.announcementContent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announcementEmoji {
  font-size: 24px;
}

.announcementText {
  font-weight: 700;
  font-size: 20px;
}

/* 英雄区域 */
.heroBanner {
  background: var(--ifm-background-color);
  color: var(--ifm-font-color-base);
  padding: 4rem 0 6rem 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.heroInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.heroText {
  flex: 1;
  max-width: 600px;
}

.heroTitle {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--ifm-font-color-base);
}

.heroTitleColorful {
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.githubButton {
  margin-left: 1rem;
}

.heroLogo {
  flex-shrink: 0;
  margin-left: 2rem;
  background: var(--ifm-background-color);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 15px var(--ifm-color-emphasis-200);
  border: 1px solid var(--ifm-color-emphasis-300);
  transition: all 0.3s ease;
}

.heroLogo:hover {
  background: var(--ifm-background-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
  border-color: var(--ifm-color-primary);
}

.heroLogoImg {
  width: 300px;
  height: 300px;
  transition: all 0.3s ease;
}

.heroLogo:hover .heroLogoImg {
  transform: scale(1.05);
}

/* 响应式设计 */
@media screen and (max-width: 996px) {
  .heroBanner {
    padding: 2rem 0 4rem 0;
  }
  
  .heroInner {
    flex-direction: column;
    text-align: center;
  }
  
  .heroText {
    max-width: none;
  }
  
  .heroTitle {
    font-size: 2.5rem;
  }
  
  .heroLogo {
    margin-left: 0;
    margin-top: 2rem;
  }
  
  .heroLogoImg {
    width: 200px;
    height: 200px;
  }
  
  .buttons {
    justify-content: center;
  }
  
  .githubButton {
    margin-left: 0;
    margin-top: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .heroTitle {
    font-size: 2rem;
  }
  
  .heroLogoImg {
    width: 150px;
    height: 150px;
  }
  
  .buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin: 2rem auto 0;
  }
  
  .githubButton {
    margin: 1rem auto 0;
    display: block;
  }
}